import request from '@/utils/request'

// 获取顾问列表
export function listConsultants(query) {
  return request({
    url: '/shop/itemconsultant/getAllConsultantlist',
    method: 'get',
    params: query
  })
}

// 更新顾问等级
export function updateConsultantRank(data) {
  return request({
    url: '/shop/itemconsultant/updateConsultantRank',
    method: 'post',
    data: data
  })
}
